package com.sup.menu.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sup.common.annotation.Excel;
import com.sup.common.core.domain.BaseEntity;

/**
 * 合作信息表单对象 cooperate_menu
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
public class CooperateMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合作表单 */
    private Long id;

    /** 进货商 */
    @Excel(name = "进货商")
    private Long cooSupId;

    /** 物品id */
    @Excel(name = "物品id")
    private Long cooGoodsId;

    /** 进货物品单价 */
    @Excel(name = "进货物品单价")
    private BigDecimal cooGoodsPurchaseUnitPrice;

    /** 进货数量 */
    @Excel(name = "进货数量")
    private String cooPurQuantity;

    /** 进货总价 */
    @Excel(name = "进货总价")
    private BigDecimal cooPrice;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cooCreationTime;

    /** 创建人员id */
    @Excel(name = "创建人员id")
    private Long cooCreatorId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cooModificationTime;

    /** 修改人员id */
    @Excel(name = "修改人员id")
    private Long cooModifierId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCooSupId(Long cooSupId) 
    {
        this.cooSupId = cooSupId;
    }

    public Long getCooSupId() 
    {
        return cooSupId;
    }
    public void setCooGoodsId(Long cooGoodsId) 
    {
        this.cooGoodsId = cooGoodsId;
    }

    public Long getCooGoodsId() 
    {
        return cooGoodsId;
    }
    public void setCooGoodsPurchaseUnitPrice(BigDecimal cooGoodsPurchaseUnitPrice) 
    {
        this.cooGoodsPurchaseUnitPrice = cooGoodsPurchaseUnitPrice;
    }

    public BigDecimal getCooGoodsPurchaseUnitPrice() 
    {
        return cooGoodsPurchaseUnitPrice;
    }
    public void setCooPurQuantity(String cooPurQuantity) 
    {
        this.cooPurQuantity = cooPurQuantity;
    }

    public String getCooPurQuantity() 
    {
        return cooPurQuantity;
    }
    public void setCooPrice(BigDecimal cooPrice) 
    {
        this.cooPrice = cooPrice;
    }

    public BigDecimal getCooPrice() 
    {
        return cooPrice;
    }
    public void setCooCreationTime(Date cooCreationTime) 
    {
        this.cooCreationTime = cooCreationTime;
    }

    public Date getCooCreationTime() 
    {
        return cooCreationTime;
    }
    public void setCooCreatorId(Long cooCreatorId) 
    {
        this.cooCreatorId = cooCreatorId;
    }

    public Long getCooCreatorId() 
    {
        return cooCreatorId;
    }
    public void setCooModificationTime(Date cooModificationTime) 
    {
        this.cooModificationTime = cooModificationTime;
    }

    public Date getCooModificationTime() 
    {
        return cooModificationTime;
    }
    public void setCooModifierId(Long cooModifierId) 
    {
        this.cooModifierId = cooModifierId;
    }

    public Long getCooModifierId() 
    {
        return cooModifierId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cooSupId", getCooSupId())
            .append("cooGoodsId", getCooGoodsId())
            .append("cooGoodsPurchaseUnitPrice", getCooGoodsPurchaseUnitPrice())
            .append("cooPurQuantity", getCooPurQuantity())
            .append("cooPrice", getCooPrice())
            .append("cooCreationTime", getCooCreationTime())
            .append("cooCreatorId", getCooCreatorId())
            .append("cooModificationTime", getCooModificationTime())
            .append("cooModifierId", getCooModifierId())
            .toString();
    }
}
